﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using System.Web.Security;

namespace SYJ.Logic.Controllers
{
   public class HomeController:BaseController
    {
       public ActionResult Index() {
           if (!string.Equals(FormsAuthentication.DefaultUrl, "/Home/Index", StringComparison.InvariantCultureIgnoreCase))
               return Redirect(FormsAuthentication.DefaultUrl);

           return View();
       }

    }
}
